package com.gilight.base.service;

import com.gilight.base.model.SysPermission;

import java.util.List;
import java.util.Map;

public interface MenuService {
    List<Map<String,Object>> loadMenu(Long id);

    List<Map<String, Object>> loadMenu2(String appKey);

    /**
     * 切换角色查询新的菜单
     * @param userId
     * @param roleId
     * @return
     */
    void saveChangeMenu(Long userId, Long roleId);
}
